<title><#if sc?exists>${sc.title?if_exists}<#else>知识平台</#if></title>
<#import "/pages/import/helper.ftl" as h />
<#--css -->
<@h.css href="/css/common.css"/>
<@h.css href="/css/buttons.css"/>
<@h.css href="/javascripts/ligerUI/skins/Silvery/css/ligerui-all.css"/>
<@h.css href="/css/screen.css"/>
<@h.css href="/css/header.css"/>
<#-- scripts -->
<@h.js src="/javascripts/jquery/jquery-1.4.2.min.js"/>
<@h.js src="/javascripts/ligerUI/js/ligerui.min.js"/>
<@h.js src="/javascripts/jquery/jquery.validate.min.js"/>
<@h.js src="/javascripts/jquery/messages_cn.js"/>
<@h.js src="/javascripts/public/common.js"/>
<@h.js src="/javascripts/public/auth.js"/>


<#assign contextPath = request.contextPath/>
<link rel="shortcut icon" href="${contextPath}/images/favicon.ico">
<script>
$.ajaxSetup ({
	cache: false //close AJAX cache
});
var ROOT='${contextPath}';
var auth=new auth();
function page(p){
		window.open(p,"main","");
}
function icon(cellvalue, options, rowdata){
	if(cellvalue == 0 || cellvalue == "DISABLED")
		return "<img src='${contextPath}/images/ico16/ico-prohibit.gif'/>";
	else if(cellvalue==1 || cellvalue == "ENABLED")
		return "<img src='${contextPath}/images/ico16/ico-pass.gif'/>";
	else
		return cellvalue;
}
</script>